#ifndef MINEDESIGN3D_VIEWMANAGER
#define MINEDESIGN3D_VIEWMANAGER
#include "Util/Singleton.hpp"
#include "ModelViewCamera.hpp"
#include <boost/shared_ptr.hpp>
namespace MineDesign3D{
class ViewManager : public Util::Singleton<ViewManager>,public ModelViewCamera
{
public:
	ViewManager(Resolution resolution,float fovy):
	 ModelViewCamera(resolution,fovy)
	{
	}
	~ViewManager(){}

	void renderLookAt()const;
};
}//MineDesign3D

inline MineDesign3D::ViewManager* g_pViewManager()
{
	return MineDesign3D::ViewManager::pInstance();
}
#endif